package com.sanshow.charging.util;

import com.google.gson.annotations.SerializedName;
import com.sanshow.charging.gson.DeviceInfo;


public class UpdateInfo {

    public String code;
    public String msg;
    public String time;

    public UpdateInfo.UpdateEntity data;


    public class UpdateEntity {
        /**
         * 主键id
         */
        private Long id;

        /**
         * 版本名称
         */
        @SerializedName(value = "version_name")
        private String versionName;

        /**
         * 版本号
         */
        @SerializedName(value = "version_num")
        private String versionNum;

        /**
         * 版本编码
         */
        @SerializedName(value = "version_code")
        private String versionCode;

        /**
         * 更新url
         */
        private String url;

        /**
         * 是否强制（0：否；1：是）
         */
        @SerializedName(value = "is_force")
        private int isForce;

        /**
         * 更新描述
         */
        private String desc;

        public void setId(Long id) {
            this.id = id;
        }

        public Long getId() {
            return id;
        }

        public void setVersionName(String versionName) {
            this.versionName = versionName;
        }

        public String getVersionName() {
            return versionName;
        }

        public void setVersionNum(String versionNum) {
            this.versionNum = versionNum;
        }

        public String getVersionNum() {
            return versionNum;
        }

        public void setVersionCode(String versionCode) {
            this.versionCode = versionCode;
        }

        public String getVersionCode() {
            return versionCode;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getUrl() {
            return url;
        }

        public void setIsForce(int isForce) {
            this.isForce = isForce;
        }

        public int getIsForce() {
            return isForce;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getDesc() {
            return desc;
        }
    }
}
